function lottery(url){
  // 抽奖活动
  this.lottery_getlist = `${url}lottery/getlist`;//抽奖活动列表接口 GET
  this.lottery_insert = `${url}lottery/insert`;//添加抽奖活动接口 POST
  this.lottery_info = `${url}lottery/info`;//抽奖活动详情接口 GET
  this.lottery_save = `${url}lottery/save`;//更新抽奖活动接口 POST
  this.lottery_status = `${url}lottery/status`;//修改抽奖活动状态接口 POST
  this.lottery_getnopagelist = `${url}lottery/getnopagelist`;//抽奖活动列表（不分页）列表接口 GET
  
  // 奖品
  this.prize_getlist = `${url}prize/getlist`;//奖品列表（所有）接口 POST
  this.prize_insert = `${url}prize/insert`;//添加奖品接口 POST
  this.prize_info = `${url}prize/info`;//奖品详情接口 POST
  this.prize_save = `${url}prize/save`;//更新奖品接口 POST
  this.prize_sort = `${url}prize/sort`;//修改奖品排序接口 POST
  this.prize_status = `${url}prize/status`;//修改奖品状态接口 POST

  // 抽奖明细
  this.lottery_record_getlist = `${url}lottery_record/getlist`;//抽奖明细列表接口 POST

  // 积分购买抽奖
  this.lottery_integral_buy_getlist = `${url}lottery_integral_buy/getlist`;//积分购买抽奖明细列表接口 POST

}

export default lottery
